﻿param($installPath, $toolsPath, $package, $project)

#-----------------------------------------------------------------------------
#
# Install and uninstall scripts
# Automates the addition and removal of the AZROLESLib reference
#
#-----------------------------------------------------------------------------

$project.Object.References.Add("Interop.AZROLESLib")
$azo = $project.Object.References.Item("Interop.AZROLESLib")
if($azo -and $azo.EmbedInteropTypes)
{
	$azo.EmbedInteropTypes = $false
}